export const state = {
  token: "",
};
export const mutations = {
  setToken(state, token) {
    state.token = token;
  },
};
export const actions = {
  // 服务端生命周期
  nuxtServerInit(store, context) {
    // store.commit("setToken", "abc123");
    console.log("nuxtServerInit");
    // console.log(store);
  },
};
